home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2005 August (Alt)
/
CHIP 2005-08.1.iso
/
program
/
guvenlik
/
syslinux-3.07.exe
/
sample
/
c32exit.S
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2003-12-12
|
253 b
|
11 lines
# $Id#
#
# Implementation of exit() for com32 based on c32entry.S
#
.text
.globl exit
exit:
movl 4(%esp),%eax # Exit code in %eax = return value
movl (__entry_esp),%esp # Return stack pointer to entry value
ret # Return to termination address